<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link REL="SHORTCUT ICON" HREF="{% static "imge/favicon.ico" %}">
    <title>剪映json转换为srt字幕</title>
    <link rel="preconnect" href="https://fonts.lug.ustc.edu.cn">
    <link rel="preconnect" href="https://fonts.lug.ustc.edu.cn" crossorigin>
    <link href="https://fonts.lug.ustc.edu.cn/css2?family=Noto+Sans+SC:wght@100;400&display=swap" rel="stylesheet">
    {#    <link rel="stylesheet" href="{% static 'css/bootstrap.css' %}">#}
    <style>
        body {
        {#background-color: #eeeeee;#}{#width: 500px;#} font-family: 'Noto Sans SC', sans-serif;
            border: 25px solid #88aea3;
        {#border-color: #efec8f;#} padding: 25px;
        {#margin: 25px;#} box-shadow: 8px 8px 8px #888888;
        }

        img {
            max-width: 1000px;
            max-height: 1000px;
            height: auto;
        }

    </style>
    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?142a450d1f0ca13c529bca6b2332f6b9";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <meta name="referrer" content="strict-origin-when-cross-origin">
</head>

<body>
<h2>剪映识别字幕导出srt</h2>
<h4>导出带时间轴srt</h4>
<form enctype="multipart/form-data" action="/upload/" method="post">
    <input type="file" name="json2srt"/>
    <input type="submit" value="开始转换"/>
</form>
<h4>导出纯文本srt</h4>
<form enctype="multipart/form-data" action="/upload2/" method="post">
    <input type="file" name="json2srt"/>
    <input type="submit" value="开始转换"/>
</form>
<br>
<a href="https://space.bilibili.com/903059">作者:B站 ClegeA</a>
<br>
<a href="https://www.bilibili.com/video/BV113411b7gF/">剪映素材下载</a>
<h1>剪映官方背刺，3.0版剪映可以导出srt字幕，此站将在正式版发布后下线</h1>
<br/>
<hr/>
<h2>使用方法</h2>

<p>首先将视频导入到剪映电脑版本</p>
<p>点击识别字幕</p>
<p>识别完成后关掉剪映</p>
<p>找到******.json文件</p>
<blockquote>
    windows路径: C:\Users\用户名\AppData\Local\JianyingPro\User
    Data\Projects\com.lveditor.draft\项目名字文件夹（2.9版本以后为x月x日）/draft_content.json
    <br>
    macOS路径: ~/Movies/JianyingPro/User Data/Projects/com.lveditor.draft/项目名字文件夹（2.9版本以后为x月x日）/draft_info.json
</blockquote>
<p>在此页面选择文件</p>
<p>点击开始转换即可开始下载</p>
<p>注意:有时候需要关掉下载器才能下载字幕</p>
<a href="https://www.bilibili.com/video/BV1N64y1d7A8/">视频教程</a>
<p>如果有BUG,也请私信UP主反馈一下,谢谢</p>
<p>2022.4.29 更新说明</p>
<p>2022.4.22 跟进新版剪映规则变化</p>
<p>2021.7.23 更新windows下pr的兼容性</p>

{#<h2>打赏</h2>#}
{#<img src="{% static "imge/支付宝.png" %}" alt="打赏"/>#}
{#<img src="{% static "imge/微信.png" %}" alt="打赏"/>#}

</body>

</html>

